import {post} from '@/utils/wsc'

export default {
    // 批量获取GroupId
    getGroupIdsByNames: (...args) => post('/zabbixMenu/getGroupIdsByNames', ...args),

    // 批量获取hostId
    getHostIdsByGroupIds: (...args) => post('/zabbixMenu/getHostIdsByGroupIds', ...args),

    // 获取告警数量
    getAlertMachineNumber: (...args) => post('/zabbixMenu/getAlertMachineNumber', ...args),

    // 获取未处理告警数量
    getNotHandleAlertMachineNumber: (...args) => post('/zabbixMenu/getNotHandleAlertMachineNumber', ...args),

    // 批量获取指定监控项的itemId
    getItemIds: (...args) => post('/zabbixMenu/getItemIds', ...args),

    // 批量获取监控数据
    getHistoricalMonitorInfoByItemIds: (...args) => post('/zabbixMenu/getHistoricalMonitorInfoByItemIds', ...args),

    // 批量获取告警数据
    getNotHandleAlertDetail: (...args) => post('/zabbixMenu/getNotHandleAlertDetail', ...args),
}
